home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccfffffffftttt2222ddddiiii,,,,zzzzfffffffftttt2222ddddiiii((((3333FFFF)))) ccccfffffffftttt2222ddddiiii,,,,zzzzfffffffftttt2222ddddiiii((((3333FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- ccccfffffffftttt2222ddddiiii,,,, zzzzfffffffftttt2222ddddiiii ---- initialize the coefficient array for complex-to-
- complex 2D FFT modules.
-
- SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
- _F_O_R_T_R_A_N _S_P_E_C_I_F_I_C_A_T_I_O_N
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee CCCCFFFFFFFFTTTT2222DDDDIIII(((( nnnn1111,,,, nnnn2222,,,, ccccooooeeeeffffffff ))))
- iiiinnnntttteeeeggggeeeerrrr nnnn1111,,,, nnnn2222
- ccccoooommmmpppplllleeeexxxx ccccooooeeeeffffffff((((((((nnnn1111++++11115555)))) ++++ ((((nnnn2222++++11115555))))))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ZZZZFFFFFFFFTTTT2222DDDDIIII(((( nnnn1111,,,, nnnn2222,,,, ccccooooeeeeffffffff ))))
- iiiinnnntttteeeeggggeeeerrrr nnnn1111,,,, nnnn2222
- ddddoooouuuubbbblllleeee ccccoooommmmpppplllleeeexxxx ccccooooeeeeffffffff((((((((nnnn1111++++11115555)))) ++++ ((((nnnn2222++++11115555))))))))
-
- _C _S_P_E_C_I_F_I_C_A_T_I_O_N
- ####iiiinnnncccclllluuuuddddeeee <<<<fffffffftttt....hhhh>>>>
- ccccoooommmmpppplllleeeexxxx ****ccccfffffffftttt2222ddddiiii(((( iiiinnnntttt nnnn1111,,,, iiiinnnntttt nnnn2222,,,, ccccoooommmmpppplllleeeexxxx ****ccccooooeeeeffffffff))));;;;
-
- zzzzoooommmmpppplllleeeexxxx ****zzzzfffffffftttt2222ddddiiii(((( iiiinnnntttt nnnn1111,,,, iiiinnnntttt nnnn2222,,,, zzzzoooommmmpppplllleeeexxxx ****ccccooooeeeeffffffff))));;;;
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Initialize the coefficient array which is used in the 2D FFT modules.
- This array contains the different twiddle factors and the factorization
- of N1 and N2 into prime numbers.
- As the FFT modules cfft2d or zfft2d only read the _c_o_e_f_f array, it may be
- reused as long as necessary once it has been initialized.
-
- In C, if _p_t_r is NULL, _c_f_f_t_2_d_i or _z_f_f_t_2_d_i returns a pointer to an
- allocated buffer.
-
- CFFT2DI should be used to initialize the coefficient array before any
- call to CFFT2D
- ZFFT2DI should be used to initialize the coefficient array before any
- call to ZFFT2D
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- NNNN1111 ---- Integer, the first dimension size of the 2D sequence.
- Unchanged on exit.
-
- NNNN2222 ---- Integer, the second dimension size of the 2D sequence.
- Unchanged on exit.
-
- CCCCOOOOEEEEFFFFFFFF ---- Array (C or Fortran) or NULL pointer(C).
-
- EEEExxxxaaaammmmpppplllleeee ooooffff CCCCaaaalllllllliiiinnnngggg SSSSeeeeqqqquuuueeeennnncccceeee
- Initializing a coefficient array for complex-to-complex FFTs of size 200
- x 300.
-
- _F_o_r_t_r_a_n :
- complex coeff((200+15)+(300+15))
- call cfft2di( 200, 300, coeff)
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ccccfffffffftttt2222ddddiiii,,,,zzzzfffffffftttt2222ddddiiii((((3333FFFF)))) ccccfffffffftttt2222ddddiiii,,,,zzzzfffffffftttt2222ddddiiii((((3333FFFF))))
-
-
-
- _C :
- #include <fft.h>
- complex *coeff;
- coeff = cfft2di( 200, 300, NULL);
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fft, cfft2d, zfft2d
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-